﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login_tb.aspx.cs" Inherits="YiCreateWebApp.User.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="../Styles/PageStyle.css" rel="Stylesheet" type="text/css " />
    <title>用户登录</title>
    <style type="text/css">
        .style1
        {
            width: 146px;
            height: 28px;
        }
        .style2
        {
            width: 80px;
            height: 28px;
        }
        .style3
        {
            height: 28px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <h2 align="center">
                用户登录</h2>
        </div>
        <%--        <div class="login2">--%>
        <div>
            <table align="center" style="width: 500px; height: 59px; font-size: 9pt;">
                <%--            <ul>
                <li>--%>
                <tr>
                    <td style="width: 80px">
                        <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label>
                    </td>
                    <td style="width: 180px" colspan="2">
                        <asp:TextBox ID="txtUserName" runat="server" Width="130px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserName"
                            ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 80px">
                        <asp:Label ID="Label2" runat="server" Text="密码："></asp:Label>
                    </td>
                    <td style="width: 180px" colspan="2">
                        <asp:TextBox ID="txtPwd" TextMode="Password" runat="server" Width="130px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPwd"
                            ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        <asp:Label ID="Label3" runat="server" Text="验证码："></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtValidateNum" runat="server" Width="130px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtValidateNum"
                            ForeColor="red" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                    <td class="style3">
                        <asp:Image ID="Image1" runat="server" Height="22px" Width="58px" ImageUrl="~/User/ValidateNum.aspx" />
                        <%--                    </td>
                    <td>--%>
                        <asp:Label ID="Label4" runat="server" Text="请输入图片中的验证码!"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="left" colspan="2">
                        <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click" />
                        <asp:Button ID="btnRegister" runat="server" Text="注册" CausesValidation="false" OnClick="btnRegister_Click" />
                    </td>
                </tr>
                <%--                </li>
                <li>--%>
                <%--                </li>
                <li>--%>
                <%--                </li>
                <li>--%>
                <%--                </li>
            </ul>--%></table>
        </div>
    </div>
    </form>
</body>
</html>
